<?php
namespace App\Module\Admin\Request\Roll;

use Hyperf\Validation\Request\FormRequest;

class CreateRequest extends FormRequest{

    public function authorize(): bool
    {
        return true;
    }

    public function rules(): array
    {
        return [
            'thumbnail'=>'required|url',
        ];
    }
}